package com.niit.blog.service;

import com.niit.blog.entity.Dto.BlogEsDto;
import com.niit.blog.entity.domain.Blog;

import java.util.List;

public interface BlogEsService {
    List<Blog> getBlogByEs(Blog blog);
    //将新增加的博客数据同步到es中
    boolean insert(BlogEsDto blogEsDto);
}
